package com.woniuxy.store.core.service;

import com.woniuxy.store.core.model.PlAddress;
import com.woniuxy.store.core.model.PlOrderitem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.store.core.vo.OrderItemVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2021-07-05
 */
public interface PlOrderitemService extends IService<PlOrderitem> {
    List<OrderItemVo> selectAll(Integer storeId);

    List<OrderItemVo> selectOrderItemByStoreId(Integer storeId);

    List<OrderItemVo> selectByStoreIdFirstId(Integer storeId, Integer firstId);
    List<OrderItemVo> selectUnpaid(Integer storeId);
    List<OrderItemVo> selectUnChecked(Integer storeId);
    List<OrderItemVo> selectUnServiced(Integer storeId);
    List<OrderItemVo> selectUnEvaluate(Integer storeId);
    List<OrderItemVo> selectUnAfterSale(Integer storeId);
    List<OrderItemVo> selectFinished(Integer storeId);
    List<OrderItemVo> selectDay(Integer storeId);
    List<OrderItemVo> selectWeek(Integer storeId);
    List<OrderItemVo> selectMonth(Integer storeId);
    List<OrderItemVo> selectSeason(Integer storeId);
    List<PlAddress> selectAddress(Integer orderitemId);
}
